<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Commments extends Model
{
    //
    protected $fillable = ['nickname', 'email', 'website', 'content', 'article_id'];

    public function getTitle($id){
    	$articles = new Articles ;
    	return $articles::find($id);
    }
}
